Generic Programming Redesign of Patterns
نویسندگان
چکیده
ion. There should be one procedure for each algorithm. Because algorithms should work for different types, procedures must feature a certain degree of abstraction: they must accept input of various types. Most of the algorithmic entities have to be represented in an abstract way. Efficiency. However, abstraction should not lead to a computational burden, since scientific computing requires efficient implementations. These abstract implementations should be about as fast as implementations dedicated to a particular data type. Design. Still, object-oriented modeling of abstraction typically relies on operation polymorphism, which imposes an efficiency penalty due to the huge number of dynamic bindings that usually occur in scientific computing. In particular, design patterns widely use operation polymorphism. Design quality. Yet, the core ideas captured in many design patterns are design structures that have often proved useful in scientific computing. Sacrificing design patterns simply because there might be efficiency problems is not justified.
منابع مشابه
Thematization Strategies in the Generic Moves of Research Article Introductions
Despite the heterogeneity of ideas regarding the definitions of genre, there are also common instances shared among scholars interested in particular aspects of the notion. Swales (1990) and Bhatia (1993) are primarily interested in the sociological and psychological aspects of genre's functioning and construction, respectively.. Swales analyzes the genre of 'article introduction', into four ge...
متن کاملMathematical Programming Models for Solving Unequal-Sized Facilities Layout Problems - a Generic Search Method
This paper present unequal-sized facilities layout solutions generated by a genetic search program named LADEGA (Layout Design using a Genetic Algorithm). The generalized quadratic assignment problem requiring pre-determined distance and material flow matrices as the input data and the continuous plane model employing a dynamic distance measure and a material flow matrix are discussed. Computa...
متن کاملRedesign and reuse in compositional knowledge-based systems
The paper introduces a task model for the redesign of compositional knowledge-based systems based on a generic task model of design. A generic task model of design provides an abstract description of a design task and a generic structure which can be refined for design tasks in specific domains of application. A generic task model of design, shown to incorporate redesign, is presented and refin...
متن کاملRedesigning an Infection Control Application to Support an Enterprise Model
As the demands on hospital infection control teams increase, it becomes less efficient for them to use paper-based surveillance methods. The existing electronic infection control surveillance system at our largest facility was not designed to support a multi-hospital model. Our goal was to redesign the application using generic, open source technologies, and make it flexible enough to support t...
متن کاملPatterns in Datatype-Generic Programming
Generic programming consists of increasing the expressiveness of programs by allowing a wider variety of kinds of parameter than is usual. The most popular instance of this scheme is the C++ Standard Template Library. Datatype-generic programming is another instance, in which the parameters take the form of datatypes. We argue that datatype-generic programming is sufficient to express essential...
متن کامل